<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="keyword" content="">

    <title>碰撞报告 - 详情页</title>

    <!-- Bootstrap core CSS -->
    <link href="__PUBLIC__/css/bootstrap.min.css" rel="stylesheet">
    <link href="__PUBLIC__/css/bootstrap-reset.css" rel="stylesheet">
    <!--external css-->
    <link href="__PUBLIC__/assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <!-- Custom styles for this template -->
    <link href="__PUBLIC__/css/style.css" rel="stylesheet">
    <link href="__PUBLIC__/css/style-responsive.css" rel="stylesheet" />
    <!-- new styles-->
      <link href="__PUBLIC__/css/xxxstyle.css" rel="stylesheet" />

      <!-- HTML5 shim and Respond.js IE8 support of HTML5 tooltipss and media queries -->
    <!--[if lt IE 9]>
      <script src="__PUBLIC__/js/html5shiv.js"></script>
      <script src="__PUBLIC__/js/respond.min.js"></script>
    <![endif]-->
  </head>

  <body class="scrollOn">

  <section id="container">
      <!--main content start-->
      <section id="main-content">
          <section class="wrapper site-min-height textcenter">
              <!-- page start-->
              <section class="panel collisionReport" id="printCon">
                  <header class="panel-heading"><i class="icon-file"></i>碰撞报告 {$data.id}
                      <span class="pull-right">
                          <button type="button" class="btn btn-submit btn-xs print-link no-print"><i class="glyphicon glyphicon-print"></i>打印</button>
                      </span>
                  </header>
                  <div class="panel-body">
                      <div class="task-details">
                          <div class="cRtitle">
                              <span class="lSpan"><i class="icon-user"></i>编制人：<b>{$data.uname.name}</b></span>
                              <span class="rSpan no-print">当前状态：<i class="icon-circle-blank"> {$status[$data['status']]}</i></span>
                          </div>
                          <div class="collisionReport-table">
                              <div class="cRtable-row">
                                  <div class="cRow-1 cRtable-bg">项目名称</div>
                                  <div class="cRow-2">{$data.pname}</div>
                                  <div class="cRow-1 cRtable-bg">项目负责人</div>
                                  <div class="cRow-6">{$data.tname.name}</div>
                              </div>
                          </div>
                      </div>
                      <div class="task-details">
                          <div class="cRtitle">碰撞</div>
                          <div class="collisionReport-table">
                              <div class="cRtable-row">                                  
                                  <div class="cRow-1 cRtable-bg">楼栋号</div>
                                  <div class="cRow-4">{$data.ban}</div>
                                  <div class="cRow-1 cRtable-bg">楼层</div>
                                  <div class="cRow-4">{$data.floor}</div>
                              </div>
                              <div class="cRtable-row">
                                  <div class="cRow-1 cRtable-bg">专业</div>
                                  <div class="cRow-4">{$major[$data['major']]}</div>
                                  <div class="cRow-1 cRtable-bg">优化点</div>
                                  <div class="cRow-4">{$optimization[$data['optimization']]}</div>
                              </div>
                              <div class="cRtable-row">
                                  <div class="cRow-1 cRtable-bg">轴线位置</div>
                                  <div class="cRow-4">{$data.axis}</div>
                                  <div class="cRow-1 cRtable-bg">交于</div>
                                  <div class="cRow-4">{$data.axis_turn}</div>
                              </div>
                              <div class="cRtable-row">
                                  <div class="cRow-1 cRtable-bg">碰撞部位</div>
                                  <div class="cRow-4">{$data.position}</div>
                                  <div class="cRow-1 cRtable-bg">碰撞于</div>
                                  <div class="cRow-4">{$data.position_turn}</div>
                              </div>
                          </div>
                      </div>
                      <div class="task-details">
                          <div class="cRtitle">反馈</div>
                          <div class="collisionReport-table">
                              <div class="cRtable-row">
                                  <div class="cRow-8 cRtable-bg">问题描述</div>
                                  <div class="cRow-8 cRtable-bg">建议方案</div>
                              </div>
                              <div class="cRtable-row">
                                  <div class="cRow-8 cRowY">{$data.problem|json_decode}</div>
                                  <div class="cRow-8 cRowY">{$data.proposal|json_decode}</div>
                              </div>
                          </div>
                          <if condition="$data['opinion'] neq '' && $data['status'] eq 4">
                              <div class="collisionReport-table bt0 mt8">                       
                                  <div class="cRtable-row">
                                      <div class="cRow-9 cRtable-bg">业主方意见</div>
                                  </div>
                                  <div class="cRtable-row">
                                      <div class="cRow-9 cRowY">{$data.opinion.design|json_decode}</div>
                                  </div>                       
                              </div>
                          </if>
                          <if condition="$data['odesign'] neq '' && $data['status'] eq 4">
                              <foreach name="data.odesign" item="y" key="j">
                                  <div class="collisionReport-table bt0 mt8">                         
                                    <div class="cRtable-row">
                                      <div class="cRow-9 cRtable-bg">设计院({$y.name})意见</div>
                                    </div>
                                    <div class="cRtable-row">
                                      <div class="cRow-9 cRowY">{$y.design|json_decode}</div>
                                    </div>                           
                                  </div>
                              </foreach>
                          </if>
                      </div>                                         
                      <div class="task-details">
                          <div class="cRtitle">变动</div>
                          <div class="collisionReport-table">
                              <div class="cRtable-row">
                                  <div class="cRow-1 cRtable-bg">造价</div>
                                  <div class="cRow-4 cRowA">{$data.cost}</div>
                                  <div class="cRow-1 cRtable-bg">工期</div>
                                  <div class="cRow-4 cRowB">{$data.time_limit}</div>
                              </div>                              
                          </div>
                      </div>
                      <div class="task-details">
                          <div class="cRtitle">对象</div>
                          <div class="collisionReport-table">
                              <div class="cRtable-row">
                                  <div class="cRow-1 cRtable-bg">提交对象</div>
                                  <div class="cRow-4">{$data.nname.name}</div>
                                  <div class="cRow-1 cRtable-bg">抄送对象</div>
                                  <div class="cRow-4">{$data.dname}</div>
                              </div>                              
                          </div>
                      </div>
                      <if condition="$data['imgtype'] eq 1">
                      <div class="pzImg">
                          <div class="cRtitle">BIM模型图</div>
                          <div class="row">
                              <div class="col-xs-6 pzCenter"><img src="{$data.original}" /></div>
                              <div class="col-xs-6 pzCenter"><img src="{$data.original_edit}" /></div>
                          </div>
                      </div>
                      <else/>
                      <div class="pzImg">
                          <div class="cRtitle">BIM模型图</div>
                          <div class="row">
                              <div class="col-xs-12 pzCenter"><img class="pzImgOne" src="{$data.oimg}" /></div>
                          </div>
                      </div>
                      </if>                                              
                  </div>
              </section>
              <!-- page end-->
          </section>
      </section>
      <!--main content end-->
  </section>

    <!-- js placed at the end of the document so the pages load faster -->
    <script src="__PUBLIC__/js/jquery.js"></script>
    <script src="__PUBLIC__/js/jquery-1.8.3.min.js"></script>
    <script src="__PUBLIC__/js/bootstrap.min.js"></script>
    <script class="include" type="text/javascript" src="__PUBLIC__/js/jquery.dcjqaccordion.2.7.js"></script>
    <script src="__PUBLIC__/js/jquery.scrollTo.min.js"></script>
    <script src="__PUBLIC__/js/jquery.nicescroll.js" type="text/javascript"></script>
    <script src="__PUBLIC__/js/jquery.customSelect.min.js" ></script>

    <!--common script for all pages-->
    <script src="__PUBLIC__/js/common-scripts.js"></script>

    <!--new script for this page only-->
    <script src="__PUBLIC__/js/jQuery.print.js"></script>
    <script type='text/javascript'>
        //<![CDATA[
        $(function() {
            $("#printCon").find('.print-link').on('click', function() {
                //Print ele2 with default options
                $.print("#printCon");
            });
        });
        //]]>
    </script>

  </body>
</html>
